﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 业务员数据传输对象 Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfCopyOfCopyOfOperatorsDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfCopyOfCopyOfOperatorsDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
					SysVersion= 0; 
				
		
		
					OperatorType= 0; 
				
		
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        			if (this.Dept != null) 
			{
				this.Dept.DoSerializeKeyList(dict);
			}
	        			if (this.Contact != null) 
			{
				this.Contact.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        			if (this.Effective != null) 
			{
				this.Effective.DoSerializeKeyList(dict);
			}
	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        			if (this.MasterOrg != null) 
			{
				this.MasterOrg.DoSerializeKeyList(dict);
			}
	        			if (this.OperatorLine!=null)
			{
				foreach(ufida.u9.ait.openapi.CopyOfCopyOfCopyOfOperatorLineDTOData objdata in this.OperatorLine)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
			
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfCopyOfCopyOfOperatorsDTOData(  System.Int64 iD  , System.DateTime createdOn  , System.String createdBy  , System.DateTime modifiedOn  , System.String modifiedBy  , System.Int64 sysVersion  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData dept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData contact  , System.Int32 operatorType  , System.String code  , System.String name  , System.String shortName  , System.String description  , ufida.u9.ait.openapi.EffectiveDTOData effective  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData masterOrg  , List<ufida.u9.ait.openapi.CopyOfCopyOfCopyOfOperatorLineDTOData> operatorLine  )
		{
			initData();
			this.ID = iD;
			this.CreatedOn = createdOn;
			this.CreatedBy = createdBy;
			this.ModifiedOn = modifiedOn;
			this.ModifiedBy = modifiedBy;
			this.SysVersion = sysVersion;
			this.Org = org;
			this.Dept = dept;
			this.Contact = contact;
			this.OperatorType = operatorType;
			this.Code = code;
			this.Name = name;
			this.ShortName = shortName;
			this.Description = description;
			this.Effective = effective;
			this.DescFlexField = descFlexField;
			this.MasterOrg = masterOrg;
			this.OperatorLine = operatorLine;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// ID
		/// 业务员数据传输对象 Copy.Key.ID
		/// </summary>
		private System.Int64 m_iD ;
		[DataMember(IsRequired=false)]
		public System.Int64 ID
		{
			get	
			{	
				return m_iD ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建时间
		/// 业务员数据传输对象 Copy.Sys.创建时间
		/// </summary>
		private System.DateTime m_createdOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime CreatedOn
		{
			get	
			{	
				return m_createdOn ;
			}
			set	
			{	
				m_createdOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建人
		/// 业务员数据传输对象 Copy.Sys.创建人
		/// </summary>
		private System.String m_createdBy ;
		[DataMember(IsRequired=false)]
		public System.String CreatedBy
		{
			get	
			{	
				return m_createdBy ;
			}
			set	
			{	
				m_createdBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改时间
		/// 业务员数据传输对象 Copy.Sys.修改时间
		/// </summary>
		private System.DateTime m_modifiedOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime ModifiedOn
		{
			get	
			{	
				return m_modifiedOn ;
			}
			set	
			{	
				m_modifiedOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改人
		/// 业务员数据传输对象 Copy.Sys.修改人
		/// </summary>
		private System.String m_modifiedBy ;
		[DataMember(IsRequired=false)]
		public System.String ModifiedBy
		{
			get	
			{	
				return m_modifiedBy ;
			}
			set	
			{	
				m_modifiedBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 事务版本
		/// 业务员数据传输对象 Copy.Sys.事务版本
		/// </summary>
		private System.Int64 m_sysVersion ;
		[DataMember(IsRequired=false)]
		public System.Int64 SysVersion
		{
			get	
			{	
				return m_sysVersion ;
			}
			set	
			{	
				m_sysVersion = value ;	
			}
		}
			
		

		/// <summary>
		/// 组织
		/// 业务员数据传输对象 Copy.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 部门
		/// 业务员数据传输对象 Copy.Misc.部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_dept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Dept
		{
			get	
			{	
				return m_dept ;
			}
			set	
			{	
				m_dept = value ;	
			}
		}
			
		

		/// <summary>
		/// 联系对象
		/// 业务员数据传输对象 Copy.Misc.联系对象
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_contact ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Contact
		{
			get	
			{	
				return m_contact ;
			}
			set	
			{	
				m_contact = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务员类型(已作废准备删除)
		/// 业务员数据传输对象 Copy.Misc.业务员类型(已作废准备删除)
		/// </summary>
		private System.Int32 m_operatorType ;
		[DataMember(IsRequired=false)]
		public System.Int32 OperatorType
		{
			get	
			{	
				return m_operatorType ;
			}
			set	
			{	
				m_operatorType = value ;	
			}
		}
			
		

		/// <summary>
		/// 编码
		/// 业务员数据传输对象 Copy.Misc.编码
		/// </summary>
		private System.String m_code ;
		[DataMember(IsRequired=false)]
		public System.String Code
		{
			get	
			{	
				return m_code ;
			}
			set	
			{	
				m_code = value ;	
			}
		}
			 	 	 	
		

		/// <summary>
		/// 有效性
		/// 业务员数据传输对象 Copy.状态.有效性
		/// </summary>
		private ufida.u9.ait.openapi.EffectiveDTOData m_effective ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.EffectiveDTOData Effective
		{
			get	
			{	
				return m_effective ;
			}
			set	
			{	
				m_effective = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 业务员数据传输对象 Copy.Misc.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 控制组织
		/// 业务员数据传输对象 Copy.Misc.控制组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_masterOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData MasterOrg
		{
			get	
			{	
				return m_masterOrg ;
			}
			set	
			{	
				m_masterOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务员行
		/// 业务员数据传输对象 Copy.Misc.业务员行
		/// </summary>
		private List<ufida.u9.ait.openapi.CopyOfCopyOfCopyOfOperatorLineDTOData> m_operatorLine ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.CopyOfCopyOfCopyOfOperatorLineDTOData> OperatorLine
		{
			get	
			{	
				if (m_operatorLine == null )
				{
					List<ufida.u9.ait.openapi.CopyOfCopyOfCopyOfOperatorLineDTOData> n_m_list = new List<ufida.u9.ait.openapi.CopyOfCopyOfCopyOfOperatorLineDTOData>() ;
					m_operatorLine = n_m_list ;
				}
				return m_operatorLine ;
			}
			set	
			{	
				m_operatorLine = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																								 
		/// <summary>
		/// 名称
		/// 业务员数据传输对象 Copy.Misc.名称
		/// </summary>
		[DataMember(IsRequired=false)]
		public string Name
		{
			get
			{
				if (m_Multi_name == null)
					return String.Empty ;
				else
					return m_Multi_name.DefaultLangValue ;
			}
			set
			{
				if (m_Multi_name == null)
					m_Multi_name = new  UFSoft.UBF.Util.Data.MultiLangDataDict() ;
				m_Multi_name.DefaultLangValue = value ;
			}
		}
		private UFSoft.UBF.Util.Data.MultiLangDataDict m_Multi_name ;
		/// <summary>
		/// 多语属性: 名称
		/// 业务员数据传输对象 Copy.Misc.名称
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Util.Data.MultiLangDataDict Multi_Name
		{
			get
			{
				return m_Multi_name;
			}
			set
			{
				m_Multi_name = value ;	
			}
		}
				 
		/// <summary>
		/// 简称
		/// 业务员数据传输对象 Copy.Misc.简称
		/// </summary>
		[DataMember(IsRequired=false)]
		public string ShortName
		{
			get
			{
				if (m_Multi_shortName == null)
					return String.Empty ;
				else
					return m_Multi_shortName.DefaultLangValue ;
			}
			set
			{
				if (m_Multi_shortName == null)
					m_Multi_shortName = new  UFSoft.UBF.Util.Data.MultiLangDataDict() ;
				m_Multi_shortName.DefaultLangValue = value ;
			}
		}
		private UFSoft.UBF.Util.Data.MultiLangDataDict m_Multi_shortName ;
		/// <summary>
		/// 多语属性: 简称
		/// 业务员数据传输对象 Copy.Misc.简称
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Util.Data.MultiLangDataDict Multi_ShortName
		{
			get
			{
				return m_Multi_shortName;
			}
			set
			{
				m_Multi_shortName = value ;	
			}
		}
				 
		/// <summary>
		/// 描述
		/// 业务员数据传输对象 Copy.Misc.描述
		/// </summary>
		[DataMember(IsRequired=false)]
		public string Description
		{
			get
			{
				if (m_Multi_description == null)
					return String.Empty ;
				else
					return m_Multi_description.DefaultLangValue ;
			}
			set
			{
				if (m_Multi_description == null)
					m_Multi_description = new  UFSoft.UBF.Util.Data.MultiLangDataDict() ;
				m_Multi_description.DefaultLangValue = value ;
			}
		}
		private UFSoft.UBF.Util.Data.MultiLangDataDict m_Multi_description ;
		/// <summary>
		/// 多语属性: 描述
		/// 业务员数据传输对象 Copy.Misc.描述
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Util.Data.MultiLangDataDict Multi_Description
		{
			get
			{
				return m_Multi_description;
			}
			set
			{
				m_Multi_description = value ;	
			}
		}
										
		#endregion 
	} 	
}
